package com.xjtu.conan.service;

import com.xjtu.conan.entity.TheatreCommentsInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjtu.conan.entity.TheatreImagesInfo;
import com.xjtu.conan.entity.TheatreInfo;
import com.xjtu.conan.entity.UserInfo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 剧场版评论表 服务类
 * </p>
 *
 * @author 一只黑猩猩
 * @since 2021-04-19
 */
public interface TheatreCommentsInfoService extends IService<TheatreCommentsInfo> {
    public List<TheatreCommentsInfo> getAllTheatreCommentsInfo(int current, int size);

    public TheatreCommentsInfo getTheatreCommentByid(Long tcid);

    public int addTheatreComments(TheatreCommentsInfo commentsInfo) throws IOException;

    public List<TheatreCommentsInfo> getTheatreCommentsBytid(Long tid);

    public List<TheatreCommentsInfo> getTheatreCommentsBypid(Long pid);

    public int deleteTheatreComments(Long tcid);

    public int updateTheatreComments(TheatreCommentsInfo commentsInfo);

    public int getTotal();
}
